package com.ruoyi.wx.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单详情对象 ordersdetail
 * 
 * @author hxie
 * @date 2020-12-24
 */
public class Ordersdetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单编号 */
    private String detailid;

    /** 商品ID */
    @Excel(name = "商品ID")
    private String ordersId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private String goodsId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 当前价格 */
    @Excel(name = "当前价格")
    private BigDecimal goodsPrice;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long goodsNumber;

    /** 商品小图 */
    @Excel(name = "商品小图")
    private String goodsUrl;

    public void setDetailid(String detailid) 
    {
        this.detailid = detailid;
    }

    public String getDetailid() 
    {
        return detailid;
    }
    public void setOrdersId(String ordersId) 
    {
        this.ordersId = ordersId;
    }

    public String getOrdersId() 
    {
        return ordersId;
    }
    public void setGoodsId(String goodsId) 
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setGoodsPrice(BigDecimal goodsPrice) 
    {
        this.goodsPrice = goodsPrice;
    }

    public BigDecimal getGoodsPrice() 
    {
        return goodsPrice;
    }
    public void setGoodsNumber(Long goodsNumber) 
    {
        this.goodsNumber = goodsNumber;
    }

    public Long getGoodsNumber() 
    {
        return goodsNumber;
    }
    public void setGoodsUrl(String goodsUrl) 
    {
        this.goodsUrl = goodsUrl;
    }

    public String getGoodsUrl() 
    {
        return goodsUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("detailid", getDetailid())
            .append("ordersId", getOrdersId())
            .append("goodsId", getGoodsId())
            .append("goodsName", getGoodsName())
            .append("goodsPrice", getGoodsPrice())
            .append("goodsNumber", getGoodsNumber())
            .append("goodsUrl", getGoodsUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
